<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../../style.css" type="text/css" media="screen">
<link rel="stylesheet" href="../../../print.css" type="text/css" media="print">
<meta content="GTween,com.gskinner.motion.GTween,BEGINNING,DELAY_PHASE,END,FRAME,HYBRID,PROGRESS,TIME,TWEEN_PHASE,assignmentProperty,assignmentTarget,autoPlay,autoReverse,data,defaultEase,ease,nextTween,pauseAll,rotationProperties,snappingProperties,useSetSize,useSmartRotation,useSnapping,autoHide,delay,duration,lastProgressPoint,paused,position,proxy,state,target,timeInterval,timingMode,addChild,addProgressPoint,beginning,clone,deleteProperty,end,getProperty,invalidate,linearEase,pause,play,removeAllProgressPoints,removeChild,removeProgressPoint,reset,reverse,setAssignment,setProperties,setProperty,setTweenProperties" name="keywords">
<title>com.gskinner.motion.GTween</title>
</head>
<body>
<script type="text/javascript" language="javascript" src="../../../asdoc.js"></script><script type="text/javascript" language="javascript" src="../../../cookies.js"></script><script type="text/javascript" language="javascript">
<!--
				asdocTitle = 'GTween - API Documentation';
				var baseRef = '../../../';
				window.onload = configPage;
			--></script>
<table style="display:none" id="titleTable" cellspacing="0" cellpadding="0" class="titleTable">
<tr>
<td align="left" class="titleTableTitle">API Documentation</td><td align="right" class="titleTableTopNav"><a onclick="loadClassListFrame('../../../all-classes.html')" href="../../../package-summary.html">All&nbsp;Packages</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../all-classes.html')" href="../../../class-summary.html">All&nbsp;Classes</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../index-list.html')" href="../../../all-index-A.html">Index</a>&nbsp;|&nbsp;<a href="../../../index.html?com/gskinner/motion/GTween.html&amp;com/gskinner/motion/class-list.html" id="framesLink1">Frames</a><a onclick="parent.location=document.location" href="" style="display:none" id="noFramesLink1">No&nbsp;Frames</a></td><td rowspan="3" align="right" class="titleTableLogo"><img alt="Adobe Logo" title="Adobe Logo" class="logoImage" src="../../../images/logo.jpg"></td>
</tr>
<tr class="titleTableRow2">
<td align="left" id="subTitle" class="titleTableSubTitle">Class&nbsp;GTween</td><td align="right" id="subNav" class="titleTableSubNav"><a href="#propertySummary">Properties</a>&nbsp;| <a href="#methodSummary">Methods</a>&nbsp;| <a href="#constantSummary">Constants</a></td>
</tr>
<tr class="titleTableRow3">
<td colspan="2">&nbsp;</td>
</tr>
</table>
<script type="text/javascript" language="javascript">
<!--
if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("Class GTween"); titleBar_setSubNav(true,true,false,false,false,false,true,false,false,false,false,false,false,false);}
--></script>
<div class="MainContent">
<table cellspacing="0" cellpadding="0" class="classHeaderTable">
<tr>
<td class="classHeaderTableLabel">Package</td><td><a onclick="javascript:loadClassListFrame('class-list.html')" href="package-detail.html">com.gskinner.motion</a></td>
</tr>
<tr>
<td class="classHeaderTableLabel">Class</td><td class="classSignature">public class GTween</td>
</tr>
<tr>
<td class="classHeaderTableLabel">Inheritance</td><td class="inheritanceList">GTween <img class="inheritArrow" alt="Inheritance" title="Inheritance" src="../../../images/inherit-arrow.gif"> flash.events.EventDispatcher</td>
</tr>
</table>
<p></p>
 <b>GTween ©2008 Grant Skinner, gskinner.com. Visit www.gskinner.com/blog for documentation, updates and more free code. Licensed under the MIT license. See the source file header for more information.</b>
 <hr>
 GTween is a light-weight instance oriented tween engine. This means that you instantiate tweens for specific purposes, and then reuse, update or discard them.
 This is different than centralized tween engines where you "register" tweens with a single object. This provides a more familiar and useful interface
 for object oriented programmers.
 <br/><br/>
 In addition to a more traditional setProperty/setProperties tweening interface, GTween also provides a unique proxy interface to tween and access properties of target objects
 in a more dynamic fashion. This allows you to work with properties directly, and mostly ignore the details of the tween. The proxy "stands in"
 for your object when working with tweened properties. For example, you can modify destination values (the value you are tweening to), in the middle of a tween.
 You can also access them dynamically, like so:
 <br/><br/>
 <code>mySpriteTween.proxy.rotation += 50;</code>
 <br/><br/>
 Assuming no destination value has been set for rotation previously, the above example will get the current rotation from the target, add 50 to it, set it as the destination
 value for rotation, and start the tween. If the tween has already started, it will adjust for the new values. This is a hugely powerful feature that
 requires a bit of exploring to completely understand the potential. See the documentation for the "proxy" property for more information.
 <br/><br/>
 For a light weight engine (<5kb), GTween boasts a number of advanced features:<UL>
 <LI> frame or time based animation engine
 <LI> works with any numeric properties on any object (not just display objects)
 <LI> sequenced tweens using nextTween
 <LI> synchronized child tweens
 <LI> pause and resume individual tweens or all tweens
 <LI> jump directly to the end or beginning of a tween with .end() or .beginning()
 <LI> jump to any arbitrary point in the tween with .position
 <LI> auto hide for alpha tweens, sets visible to false when alpha is 0 or less with .autoHide
 <LI> smart tweening for rotation (rotates in the shortest direction) with .useSmartRotation
 <LI> uses setSize calls when supported for width and height tweens (good for Flash and Flex components)
 <LI> complete, activate, init, and change events
 <LI> configurable progress events indicate when specified points in the tween are reached
 <LI> smart garbage collector interactions (prevents collection while active, allows collection if target is collected)
 <LI> uses any standard ActionScript tween functions
 <LI> support for tweening objects like colorTransform and matrix that need to be reassigned to a property
 <LI> cloneable
 <LI> easy to set up in a single line of code
 </UL>
 <hr/>
 <b>Beta 2 updates (Sep 2, 2008):</b><ul>
 <li> renamed .transitionFunction property to .ease (for consistency with other engines - thanks to Marcus Stade for the feedback)
 <li> renamed GTween.paused static property to .pauseAll (for clarity, and to fix a problem with ASDoc)
 <li> default .timingMode changed to HYBRID (better default choice)
 <li> added .roundValues property (thanks to Vaclav Vancura for the feedback)
 <li> fixed a typing conflict for progress points (data was mistakenly typed as String instead of  - thanks to Thomas Rudin for the feedback)
 <li> changed .removeProgressPoint() to accept a position instead of data (thanks again to Thomas Rudin)
 <li> added .clone() method
 <li> added a CHANGE event (thanks to Elliot Geno for the feedback)
 <li> added support in setTweenProperties for setting up event listeners with the special eventListener properties (ex. progressListener). This also applies to the tweenProperties parameter of the constructor. (thanks to thienhaflash for the feedback)
 <li> added a .data property
 <li> added additional checking for bad values for delay, duration, and position
 <li> still under 5kb
 </ul>
 <hr/>
 <b>Beta 3 updates (Oct 20, 2008):</b><ul>
 <li> fixed a bug with smart rotation
 <li> added rotationProperties static property to specify properties to apply smartRotation to
 <li> fixed bug with proxy method calls not returning the return value (thanks to Matus Laco)
 <li> added a few semi colons :)  (thanks to Matus Laco)
 <li> roundValues renamed to useSnapping
 <li> added snappingProperties static property to specify properties to apply snapping to.
 <li> fixed a bug that could cause setSize to be called twice
 <li> fixed a problem with copyInitProperties firing too many times
 <li> made the data parameter on addProgressPoint optional
 <li> changed removeProgressPoint to accept an optional data parameter
 <li> rewrote the progress point logic, fixing a problem that would prevent progress point events from firing if more than one progress point was passed in a single tick.
 <li> progress points will no longer fire when doing manual positioning, including using position=value, beginning() and end().
 <li> made it so that autoHide only applies while tweening alpha. (thanks to Randy Troppman)
 <li> added a defaultEase static property, which allows you to define the default easing function for all new tweens (thanks to Quentin)
 <li> made linearEase a public static method
 <li> added useSetSize property to allow you to turn off the setSize behaviour if necessary (thanks to jwopitz)
 </ul>
 <p></p>
<br>
<hr>
</div>
<a name="propertySummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Properties</div>
<table id="summaryTableProperty" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Property</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#assignmentProperty">assignmentProperty</a> : String<div class="summaryTableDescription">
  Allows you to reassign the .target object back to a property specified by assignmentProperty of an object specified by assignmentTarget.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#assignmentTarget">assignmentTarget</a> : Object<div class="summaryTableDescription">
  Allows you to reassign the .target object back to a property specified by assignmentProperty of an object specified by assignmentTarget.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#autoHide">autoHide</a> : Boolean<div class="summaryTableDescription">
  Indicates whether the target's visible property should automatically be set to false when its alpha value is tweened to 0 or less.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#autoPlay">autoPlay</a> : Boolean = true<div class="summaryTableDescription">
  Indicates whether the tween should automatically play when a destination value is changed.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#autoReverse">autoReverse</a> : Boolean = false<div class="summaryTableDescription">
  Specifies whether the tween should automatically reverse its initial and destination property values when it reaches its end.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#data">data</a> : *<div class="summaryTableDescription">
  Allows you to associate arbitrary data with your tween.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#defaultEase">defaultEase</a> : Function<div class="summaryTableDescription">[static] Specifies the default easing function to use with new tweens.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#delay">delay</a> : Number<div class="summaryTableDescription">
  The length of the delay in frames or seconds (depending on the timingMode).</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#duration">duration</a> : Number<div class="summaryTableDescription">
  The length of the tween in frames or seconds (depending on the timingMode).</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#ease">ease</a> : Function<div class="summaryTableDescription">
  The transition function to use for calculating the tween.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#lastProgressPoint">lastProgressPoint</a> : *<div class="summaryTableDescription">[read-only]
  Returns the name of the last progress point that was passed, or null if none.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#nextTween">nextTween</a> : <a href="../motion/GTween.html">GTween</a>
<div class="summaryTableDescription">
  Specifies another GTween instance that will have .play() called on it when this tween completes.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#pauseAll">pauseAll</a> : Boolean = false<div class="summaryTableDescription">[static] Setting this to true pauses all tween instances.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#paused">paused</a> : Boolean<div class="summaryTableDescription">
  Indicates whether the tween is currently paused (including when it is at the beginning or end).</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#position">position</a> : Number<div class="summaryTableDescription">
  Gets and sets the position in the tween in frames or seconds (depending on the timingMode).</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#proxy">proxy</a> : Object<div class="summaryTableDescription">[read-only]
  The proxy object allows you to work with the properties and methods of the target object directly through GTween.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#rotationProperties">rotationProperties</a> : Object<div class="summaryTableDescription">[static] A hash table specifying properties that should be affected by smartRotation.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#snappingProperties">snappingProperties</a> : Object<div class="summaryTableDescription">[static] A hash table specifying properties that should have their value rounded (snapped) before being applied.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#state">state</a> : String<div class="summaryTableDescription">[read-only]
  Returns the current positional state of the tween.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#target">target</a> : Object<div class="summaryTableDescription">
  The target object to tween.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#timeInterval">timeInterval</a> : uint<div class="summaryTableDescription">[static]
  Sets the time in milliseconds between updates when timingMode is set to GTween.TIME ("time").</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#timingMode">timingMode</a> : String<div class="summaryTableDescription">[static]
  Indicates how GTween should deal with timing.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#useSetSize">useSetSize</a> : Boolean = true<div class="summaryTableDescription">
  Allows you to specify whether to use setSize to set width and height properties if it is available.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#useSmartRotation">useSmartRotation</a> : Boolean = true<div class="summaryTableDescription">
  When true, the tween will always rotate in the shortest direction to reach the destination rotation.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#useSnapping">useSnapping</a> : Boolean = false<div class="summaryTableDescription">
  If set to true, tweened values specified by snapProperties will be rounded (snapped) before they are assigned to the target.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
</table>
</div>
<a name="methodSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Methods</div>
<table id="summaryTableMethod" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#GTween()">GTween</a>(target:Object = null, duration:Number = 10, properties:Object = null, tweenProperties:Object = null)</div>
<div class="summaryTableDescription">
  Constructs a new GTween instance.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#addChild()">addChild</a>(child:<a href="GTween.html">GTween</a>, synchDuration:Boolean = true):void</div>
<div class="summaryTableDescription">
  Adds a child tween.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#addProgressPoint()">addProgressPoint</a>(position:Number, data:* = null):void</div>
<div class="summaryTableDescription">
  Adds a tween position at which to generate a progress event.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#beginning()">beginning</a>():void</div>
<div class="summaryTableDescription">
  Jumps the tween to its beginning and pauses it.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#clone()">clone</a>(target:Object = null, preserveChildren:Boolean = false, preserveState:Boolean = false):<a href="../motion/GTween.html">GTween</a>
</div>
<div class="summaryTableDescription">
  Creates a clone of the GTween instance.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#deleteProperty()">deleteProperty</a>(propertyName:String):Boolean</div>
<div class="summaryTableDescription">
  Removes a destination value from the tween.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#end()">end</a>(endNextTween:Boolean = true):void</div>
<div class="summaryTableDescription">
  Jumps the tween to its end.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getProperty()">getProperty</a>(propertyName:String):Number</div>
<div class="summaryTableDescription">
  Returns the destination value for the specified property if one exists.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#invalidate()">invalidate</a>():void</div>
<div class="summaryTableDescription">
  Invalidate forces the tween to repopulate all of the initial properties from the target object, and start playing if autoplay is set to true.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#linearEase()">linearEase</a>(value:Number, ... args):Number</div>
<div class="summaryTableDescription">[static] The default easing function used by GTween.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#pause()">pause</a>():void</div>
<div class="summaryTableDescription">
  Pauses the tween by stopping tick from being automatically called.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#play()">play</a>():void</div>
<div class="summaryTableDescription">
  Plays a tween by incrementing the position property each frame.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#removeAllProgressPoints()">removeAllProgressPoints</a>():void</div>
<div class="summaryTableDescription">
  Removes all progress points.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#removeChild()">removeChild</a>(child:<a href="GTween.html">GTween</a>):void</div>
<div class="summaryTableDescription">
  Removes a child tween.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#removeProgressPoint()">removeProgressPoint</a>(position:Number, data:* = null):void</div>
<div class="summaryTableDescription">
  Removes the specified progress point.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#reset()">reset</a>():void</div>
<div class="summaryTableDescription">
  Resets the tween, pausing it, deleting all destination values, resetting the tween position to the beginning, and nulling the lastProgressPoint.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#reverse()">reverse</a>(reverseChildren:Boolean = true):void</div>
<div class="summaryTableDescription">
  Reverses the tween by swapping its initial and destination properties.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#setAssignment()">setAssignment</a>(assignmentTarget:Object = null, assignmentProperty:String = null):void</div>
<div class="summaryTableDescription">
  Allows you to tween objects that require re-assignment whenever they are modified by reassigning the target object to a specified property of another
  object.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#setProperties()">setProperties</a>(properties:Object):void</div>
<div class="summaryTableDescription">
  Shorthand method for making multiple setProperty calls quickly.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#setProperty()">setProperty</a>(propertyName:String, value:Number):void</div>
<div class="summaryTableDescription">
  Sets the numeric destination value for a property on the target object that you would like to tween.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#setTweenProperties()">setTweenProperties</a>(tweenProperties:Object):void</div>
<div class="summaryTableDescription">
  Shortcut method for setting multiple properties on the tween object quickly.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
</table>
</div>
<a name="constantSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Constants</div>
<table id="summaryTableConstant" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Constant</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#BEGINNING">BEGINNING</a> : String = "beginning"<div class="summaryTableDescription">[static] Constant for the BEGINNING state.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#DELAY_PHASE">DELAY_PHASE</a> : String = "delayPhase"<div class="summaryTableDescription">[static] Constant for the DELAY_PHASE state.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#END">END</a> : String = "end"<div class="summaryTableDescription">[static] Constant for the END state.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#FRAME">FRAME</a> : String = "frame"<div class="summaryTableDescription">[static] Constant for the FRAME timingMode.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#HYBRID">HYBRID</a> : String = "hybrid"<div class="summaryTableDescription">[static] Constant for the HYBRID timingMode.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#PROGRESS">PROGRESS</a> : String = "progress"<div class="summaryTableDescription">[static] Constant for the PROGRESS event type.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#TIME">TIME</a> : String = "time"<div class="summaryTableDescription">[static]
  Dispatched when a tween activates and first starts running.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#TWEEN_PHASE">TWEEN_PHASE</a> : String = "tweenPhase"<div class="summaryTableDescription">[static] Constant for the TWEEN_PHASE state.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
</table>
</div>
<script type="text/javascript" language="javascript">
<!--
showHideInherited();
--></script>
<div class="MainContent">
<a name="propertyDetail"></a>
<div class="detailSectionHeader">Property detail</div>
<a name="assignmentProperty"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">assignmentProperty</td><td class="detailHeaderType">property</td>
</tr>
</table>
<div class="detailBody">
<code>public var assignmentProperty:String</code><p>
  Allows you to reassign the .target object back to a property specified by assignmentProperty of an object specified by assignmentTarget.
  Useful for tweening elements like colorTransform that need to be reassigned to have an effect.
  <br/><br/>
  See setAssignment() for more information.
  </p><p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="../motion/GTween.html#setAssignment()" target="">GTween.setAssignment()</a>
</div>
</div>
<a name="assignmentTarget"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">assignmentTarget</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var assignmentTarget:Object</code><p>
  Allows you to reassign the .target object back to a property specified by assignmentProperty of an object specified by assignmentTarget.
  Useful for tweening elements like colorTransform that need to be reassigned to have an effect.
  <br/><br/>
  See setAssignment() for more information.
  </p><p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="../motion/GTween.html#setAssignment()" target="">GTween.setAssignment()</a>
</div>
</div>
<a name="autoHide"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">autoHide</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>autoHide:Boolean</code>&nbsp;&nbsp;[read-write]<p>
  Indicates whether the target's visible property should automatically be set to false when its alpha value is tweened to 0 or less.
  Only affects objects with a visible property.
  </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get autoHide():Boolean</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set autoHide(value:Boolean):void</code>
<br>
</div>
<a name="autoPlay"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">autoPlay</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var autoPlay:Boolean = true</code><p>
  Indicates whether the tween should automatically play when a destination value is changed.
  </p></div>
<a name="autoReverse"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">autoReverse</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var autoReverse:Boolean = false</code><p>
  Specifies whether the tween should automatically reverse its initial and destination property values when it reaches its end.
  <b>Example:</b> this could be used to create a tween that automatically plays forward and in reverse continually with:<br/>
  <code>myTween.autoReverse = true;<br/>
  myTween.nextTween = myTween; // automatically play this tween again when it ends</code>
  </p></div>
<a name="data"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">data</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var data:*</code><p>
  Allows you to associate arbitrary data with your tween. For example, you might use this to reference specific data when handling events from tweens.
  </p></div>
<a name="defaultEase"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">defaultEase</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static var defaultEase:Function</code><p> Specifies the default easing function to use with new tweens. If null, a linear ease will be used. </p></div>
<a name="delay"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">delay</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>delay:Number</code>&nbsp;&nbsp;[read-write]<p>
  The length of the delay in frames or seconds (depending on the timingMode). The delay occurs before a tween reads initial values or starts playing.
  </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get delay():Number</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set delay(value:Number):void</code>
<br>
</div>
<a name="duration"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">duration</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>duration:Number</code>&nbsp;&nbsp;[read-write]<p>
  The length of the tween in frames or seconds (depending on the timingMode). Setting this will also update any child transitions
  that have synchDuration set to true.
  </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get duration():Number</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set duration(value:Number):void</code>
<br>
</div>
<a name="ease"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">ease</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var ease:Function</code><p>
  The transition function to use for calculating the tween. This can be any standard tween function, such as the tween functions in fl.motion.easing.that come with Flash CS3.
  New tweens will have this set to the defaultTween. Setting this to null will cause GTween to throw null reference errors.
  </p></div>
<a name="lastProgressPoint"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">lastProgressPoint</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>lastProgressPoint:*</code>&nbsp;&nbsp;[read-only]<p>
  Returns the name of the last progress point that was passed, or null if none.
  </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get lastProgressPoint():*</code>
<br>
</div>
<a name="nextTween"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">nextTween</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var nextTween:<a href="../motion/GTween.html">GTween</a></code><p>
  Specifies another GTween instance that will have .play() called on it when this tween completes.
  </p></div>
<a name="pauseAll"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">pauseAll</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static var pauseAll:Boolean = false</code><p> Setting this to true pauses all tween instances. This does not affect individual tweens' .paused property. </p></div>
<a name="paused"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">paused</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>paused:Boolean</code>&nbsp;&nbsp;[read-write]<p>
  Indicates whether the tween is currently paused (including when it is at the beginning or end). See play() and pause() for more information.
  </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get paused():Boolean</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set paused(value:Boolean):void</code>
<br>
</div>
<a name="position"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">position</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>position:Number</code>&nbsp;&nbsp;[read-write]<p>
  Gets and sets the position in the tween in frames or seconds (depending on the timingMode). The value will be between -delay and duration (beginning and end of tween respectively).
  <br/><br/>
  <b>Note:</b> Normally this value would be set and modified automatically by the tween, but is provided for advanced users.
  </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get position():Number</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set position(value:Number):void</code>
<br>
</div>
<a name="proxy"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">proxy</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>proxy:Object</code>&nbsp;&nbsp;[read-only]<p>
  The proxy object allows you to work with the properties and methods of the target object directly through GTween.
  Numeric property assignments will be used by GTween as destination values. The proxy will return GTween destination values
  when they are set, or the target's property values if they are not. Delete operations on properties will result in a deleteProperty
  call. All other property access and method execution through proxy will be passed directly to the target object.
  <br/><br/>
  <b>Example 1:</b> Equivalent to calling myGTween.setProperty("scaleY",2.5):<br/>
  <code>myGTween.proxy.scaleY = 2.5;</code>
  <br/><br/>
  <b>Example 2:</b> Gets the current rotation value from the target object (because it hasn't been set yet on the GTween), adds 100 to it, and then
  calls setProperty on the GTween instance with the appropriate value:<br/>
  <code>myGTween.proxy.rotation += 100;</code>
  <br/><br/>
  <b>Example 3:</b> Sets a destination value (through setProperty) for scaleX, then retrieves it from GTween (because it will always return
  destination values when available):<br/>
  <code>trace(myGTween.proxy.scaleX); // 1 (value from target, because no destination value is set)<br/>
  myGTween.proxy.scaleX = 2; // set a destination value<br/>
  trace(myGTween.proxy.scaleX); // 2 (destination value from GTween)<br/>
  trace(myGTween.target.scaleX); // 1 (current value from target)</code>
  <br/><br/>
  <b>Example 4:</b> Property deletions only affect destination properties on GTween, not the target object:<br/>
  <code>myGTween.proxy.rotation = 50; // set a destination value<br/>
  trace(myGTween.proxy.rotation); // 50 (destination value from GTween)<br/>
  delete(myGTween.proxy.rotation); // delete the destination value<br/>
  trace(myGTween.proxy.rotation); // 0 (current value from target)</code>
  <br/><br/>
  <b>Example 5:</b> Non-numeric property access is passed through to the target:<br/>
  <code>myGTween.proxy.blendMode = "multiply"; // passes value assignment through to the target<br/>
  trace(myGTween.target.blendMode); // "multiply" (value from target)<br/>
  trace(myGTween.proxy.blendMode); // "multiply" (value passed through from target)</code>
  <br/><br/>
  <b>Example 6:</b> Method calls are passed through to target:<br/>
  <code>myGTween.proxy.gotoAndStop(30); // gotoAndStop(30) will be called on the target</code>
  </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get proxy():Object</code>
<br>
</div>
<a name="rotationProperties"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">rotationProperties</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static var rotationProperties:Object</code><p> A hash table specifying properties that should be affected by smartRotation. </p></div>
<a name="snappingProperties"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">snappingProperties</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static var snappingProperties:Object</code><p> A hash table specifying properties that should have their value rounded (snapped) before being applied. This can be toggled on a per instance basis with useSnapping. </p></div>
<a name="state"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">state</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>state:String</code>&nbsp;&nbsp;[read-only]<p>
  Returns the current positional state of the tween. This does not indicate if the tween is paused - use the .paused property for this. Possible values are: <code>
  GTween.BEGINNING, GTween.DELAY_PHASE, GTween.TWEEN_PHASE, GTween.END</code><br/>
  The beginning state indicates the tween either has not been played. The tween's position will equal -delay.<br/>
  The delayPhase state indicates that the tween is active (running), but is currently delaying prior to initing. The tween's position is less than 0. Note that it may be paused.<br/>
  The tweenPhase state indicates that the tween has inited, and is tweening the property values. Note that it may be paused.<br/>
  The end state indicates that the tween has completed playing. Setting any new properties on the tween will reset it, and set its state to beginning.
  <br/><br/>
  New tweens with autoplay set to false start with a state of BEGINNING. When first played, a tween will have a state of either DELAY_PHASE (if delay > 0) or TWEEN_PHASE (if delay == 0).
  When the delay ends, and tweening begins, the state will change to TWEEN_PHASE. When the tween reaches its end (position == duration), the state will be set to END. If you change any destination
  properties on an ended tween, its state will be set back to BEGINNING.
  </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get state():String</code>
<br>
</div>
<a name="target"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">target</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>target:Object</code>&nbsp;&nbsp;[read-write]<p>
  The target object to tween. This can be any kind of object.
  </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get target():Object</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set target(value:Object):void</code>
<br>
</div>
<a name="timeInterval"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">timeInterval</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>timeInterval:uint</code>&nbsp;&nbsp;[read-write]<p>
  Sets the time in milliseconds between updates when timingMode is set to GTween.TIME ("time"). Setting this to a lower number
  will generally result in smoother animations but higher CPU usage. Defaults to 40ms (~25 updates per second).
  </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public static function get timeInterval():uint</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set timeInterval(value:uint):void</code>
<br>
</div>
<a name="timingMode"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">timingMode</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>timingMode:String</code>&nbsp;&nbsp;[read-write]<p>
  Indicates how GTween should deal with timing. This can be set to either GTween.TIME, GTween.FRAME, or GTween.HYBRID.
  <br/><br/>
  In frame mode, GTween will update once every frame, and all positional values are specified in frames (duration, position, delay, and progress point positions).
  <br/><br/>
  In time mode, updates will occur at an interval specified by the timeInterval property, independent of the frame rate, and all positional values are
  specified in seconds.
  <br/><br/>
  In hybrid mode, all updates occur on a frame, but all positional values are specified in seconds. Each frame the tween will calculate it's position based on the elapsed time.
  This offers lower CPU usage, and a more familiar time based interface, but can result in choppy animations in high CPU situations.
  <br/><br/>
  The time mode will generally run more smoothly, as it is less dependent on the running frame rate of the movie. The frame mode will generally use less CPU,
  and can be synched with timeline animations. You can change modes at any time, but existing tweens will continue to use the mode that was active when they were created.
  </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public static function get timingMode():String</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set timingMode(value:String):void</code>
<br>
</div>
<a name="useSetSize"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">useSetSize</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var useSetSize:Boolean = true</code><p>
  Allows you to specify whether to use setSize to set width and height properties if it is available.
  </p></div>
<a name="useSmartRotation"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">useSmartRotation</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var useSmartRotation:Boolean = true</code><p>
  When true, the tween will always rotate in the shortest direction to reach the destination rotation.
  For example, rotating from 355 degress to 5 degrees will rotate 10 degrees clockwise with useSmartRotation set to true.
  It would rotate 350 degrees counter-clockwise with useSmartRotation set to false.
  </p></div>
<a name="useSnapping"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">useSnapping</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var useSnapping:Boolean = false</code><p>
  If set to true, tweened values specified by snapProperties will be rounded (snapped) before they are assigned to the target.
  </p></div>
<a name="constructorDetail"></a>
<div class="detailSectionHeader">Constructor detail</div>
<a name="GTween()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">GTween</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">constructor</td>
</tr>
</table>
<div class="detailBody">
<code>public function GTween(target:Object = null, duration:Number = 10, properties:Object = null, tweenProperties:Object = null)</code><p>
  Constructs a new GTween instance.
    </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">target</span>:Object</code> (default = <code>null</code>)<code></code> &mdash; The object whose properties will be tweened. Defaults to null.
  </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">duration</span>:Number</code> (default = <code>10</code>)<code></code> &mdash; The length of the tween in frames or seconds depending on the timingMode. Defaults to 10.
  </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">properties</span>:Object</code> (default = <code>null</code>)<code></code> &mdash; An object containing destination property values. For example, to tween to x=100, y=100, you could pass {x:100, y:100} as the props object.
  </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">tweenProperties</span>:Object</code> (default = <code>null</code>)<code></code> &mdash; An object containing properties to set on this tween. For example, you could pass {autoHide:true} to set the autoHide property of the new instance. This also provides a shortcut for setting up event listeners. See .setTweenProperties() for more information.
  </td>
</tr>
</table>
</div>
<a name="methodDetail"></a>
<div class="detailSectionHeader">Method detail</div>
<a name="addChild()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">addChild</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td>
</tr>
</table>
<div class="detailBody">
<code>public function addChild(child:<a href="GTween.html">GTween</a>, synchDuration:Boolean = true):void</code><p>
  Adds a child tween. Child tweens are played in synch with their parent (ie. their position properties are synchronized).
  By specifying true for synchDuration, you can also ensure that a child will keep its duration synchronized with its parent.
    </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">child</span>:<a href="GTween.html">GTween</a></code> &mdash; A GTween instance to add as a child tween.
  </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">synchDuration</span>:Boolean</code> (default = <code>true</code>)<code></code> &mdash; indicates whether the child tween's duration property should be kept in synch with the parent. Defaults to true. You may choose to set this to false if you have a shorter tween as a child, and want it to end sooner than its parent.
  </td>
</tr>
</table>
</div>
<a name="addProgressPoint()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">addProgressPoint</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function addProgressPoint(position:Number, data:* = null):void</code><p>
  Adds a tween position at which to generate a progress event. You can use this to trigger other functionality at specific points in the tween.
  The name is the string value that lastProgressPoint will be set to when the event is dispatched.
  <br/><br/>
  <b>Example:</b> This will generate a progress event and set the lastProgressPoint to "middle" half way through a 5 second tween:
  <code>myGTween.addProgressPoint(2.5, "middle");</code>
    </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">position</span>:Number</code> &mdash; The position at which to dispatch a progress event.
  </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">data</span>:*</code> (default = <code>null</code>)<code></code> &mdash; The data that will be set to lastProgressPoint when this progress point is reached. Omitting this parameter will cause the even to fire, and lastProgressPoint to be set to null.
  </td>
</tr>
</table>
</div>
<a name="beginning()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">beginning</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function beginning():void</code><p>
  Jumps the tween to its beginning and pauses it. This sets all target properties to their init values, and sets the state to BEGINNING.
  </p></div>
<a name="clone()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">clone</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function clone(target:Object = null, preserveChildren:Boolean = false, preserveState:Boolean = false):<a href="../motion/GTween.html">GTween</a></code><p>
  Creates a clone of the GTween instance. You can optionally specify a different target for the tween,
  and indicate whether to preserve the state (position and paused properties) of the tween.
    </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">target</span>:Object</code> (default = <code>null</code>)<code></code> &mdash; The target property for the new tween. If null, it will use the target of the tween that is being cloned.
  </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">preserveChildren</span>:Boolean</code> (default = <code>false</code>)<code></code> &mdash; Indicates whether to copy this instance's children to the new instance. Defaults to false.
  </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">preserveState</span>:Boolean</code> (default = <code>false</code>)<code></code> &mdash; Indicates whether the position and paused properties should be cloned, or if the new tween should start at position 0, with paused dependent on autoPlay. Defaults to false.
  </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="../motion/GTween.html">GTween</a></code></td>
</tr>
</table>
</div>
<a name="deleteProperty()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">deleteProperty</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function deleteProperty(propertyName:String):Boolean</code><p>
  Removes a destination value from the tween. This prevents the GTween instance from tweening the property.
    </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">propertyName</span>:String</code> &mdash; The name of the destination property to delete.
  </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Boolean</code></td>
</tr>
</table>
</div>
<a name="end()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">end</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function end(endNextTween:Boolean = true):void</code><p>
  Jumps the tween to its end. This is the same as setting position=duration, except it also provides you with the option to also end the nextTween (recursively).
  This sets all target properties to their destination values, sets the state to END, and fires the COMPLETE event.
  </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">endNextTween</span>:Boolean</code> (default = <code>true</code>)<code></code></td>
</tr>
</table>
</div>
<a name="getProperty()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getProperty</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function getProperty(propertyName:String):Number</code><p>
  Returns the destination value for the specified property if one exists.
    </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">propertyName</span>:String</code> &mdash; The name of the property to return a destination value for.
  </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Number</code></td>
</tr>
</table>
</div>
<a name="invalidate()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">invalidate</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function invalidate():void</code><p>
  Invalidate forces the tween to repopulate all of the initial properties from the target object, and start playing if autoplay is set to true.
  If the tween is currently playing, then it will also set the position to 0. For example, if you changed the x and y position of an object while
  it was playing, you could call invalidate on it to force it to resume the tween with the new property values.
  </p></div>
<a name="linearEase()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">linearEase</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static function linearEase(value:Number, ... args):Number</code><p> The default easing function used by GTween. </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">value</span>:Number</code></td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code>... <span class="label">args</span></code></td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Number</code></td>
</tr>
</table>
</div>
<a name="pause()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">pause</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function pause():void</code><p>
  Pauses the tween by stopping tick from being automatically called. This also releases the tween for garbage collection if
  it is not referenced externally.
  </p></div>
<a name="play()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">play</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function play():void</code><p>
  Plays a tween by incrementing the position property each frame. This also prevents the tween from being garbage collected while it is active.
  This is achieved by way of two methods:
  1. If the target object is an IEventDispatcher, then the tween will subscribe to a dummy event using a hard reference. This allows
  the tween to be garbage collected if its target is also collected, and there are no other external references to it.
  2. If the target object is not an IEventDispatcher, then the tween is placed in the activeTweens list, to prevent collection until it is paused or reaches the end of the transition).
  Note that pausing all tweens via the GTween.pauseAll static property will not free the tweens for collection.
  </p></div>
<a name="removeAllProgressPoints()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">removeAllProgressPoints</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function removeAllProgressPoints():void</code><p>
  Removes all progress points.
  </p></div>
<a name="removeChild()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">removeChild</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function removeChild(child:<a href="GTween.html">GTween</a>):void</code><p>
  Removes a child tween.
    </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">child</span>:<a href="GTween.html">GTween</a></code> &mdash; The child GTween instance to remove.
  </td>
</tr>
</table>
</div>
<a name="removeProgressPoint()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">removeProgressPoint</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function removeProgressPoint(position:Number, data:* = null):void</code><p>
  Removes the specified progress point. It must have the same position and data as when it was added.
    </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">position</span>:Number</code> &mdash; The position of the progress point to remove.
  </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">data</span>:*</code> (default = <code>null</code>)<code></code> &mdash; The data associated with the progress point to remove.
  </td>
</tr>
</table>
</div>
<a name="reset()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">reset</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function reset():void</code><p>
  Resets the tween, pausing it, deleting all destination values, resetting the tween position to the beginning, and nulling the lastProgressPoint.
  This will not change the target's current properties.
  </p></div>
<a name="reverse()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">reverse</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function reverse(reverseChildren:Boolean = true):void</code><p>
  Reverses the tween by swapping its initial and destination properties. If the tween is playing (state = TWEEN_PHASE), it will also 
  reverse the tween position.
  <br/><br/>
  <b>Note:</b> calling reverse on a playing tween may result in unusual results with nonlinear tween functions.
    </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">reverseChildren</span>:Boolean</code> (default = <code>true</code>)<code></code> &mdash; Indicates whether to call reverse on all child tweens.
  </td>
</tr>
</table>
</div>
<a name="setAssignment()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">setAssignment</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function setAssignment(assignmentTarget:Object = null, assignmentProperty:String = null):void</code><p>
  Allows you to tween objects that require re-assignment whenever they are modified by reassigning the target object to a specified property of another
  object. For example, in order for changes to a colorTransform object to be visible,
  it must be assigned back to the .transform.colorTransform property of a display object. To make this work, you would call
  myTween.setAssignment(myDisplayObject.transform,"colorTransform");
  This will also cause GTween to retrieve the target each time it copies its initial values.
  <br/><br/>
  <b>Note:</b> this does not work with filters yet, as they must be assigned to an array first, and then to the filters property. Use GTweenFilter instead.
    </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">assignmentTarget</span>:Object</code> (default = <code>null</code>)<code></code> &mdash; The object to reassign the property on.
  </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">assignmentProperty</span>:String</code> (default = <code>null</code>)<code></code> &mdash; The name of the property to reassign the target to.
  </td>
</tr>
</table>
</div>
<a name="setProperties()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">setProperties</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function setProperties(properties:Object):void</code><p>
  Shorthand method for making multiple setProperty calls quickly.
  <br/><br/>
  <b>Example:</b> set x and y destination values:<br/>
  <code>myGTween.setProperties({x:200, y:400});</code>
    </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">properties</span>:Object</code> &mdash; An object containing destination property values.
  </td>
</tr>
</table>
</div>
<a name="setProperty()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">setProperty</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function setProperty(propertyName:String, value:Number):void</code><p>
  Sets the numeric destination value for a property on the target object that you would like to tween.
  For example, if you wanted to tween to a new x position, you could use: myGTween.setProperty("x",400). Nonnumeric values are ignored.
    </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">propertyName</span>:String</code> &mdash; The name of the property to tween.
  </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">value</span>:Number</code> &mdash; The numeric destination value (the value to tween to).
  </td>
</tr>
</table>
</div>
<a name="setTweenProperties()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">setTweenProperties</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function setTweenProperties(tweenProperties:Object):void</code><p>
  Shortcut method for setting multiple properties on the tween object quickly. This does not set destination values (ie. the value to tween to).
  This method also provides you with a quick method for adding listeners to specific events, using the special properties:
  activateListener, initListener, completeListener, progressListener, changeListener.
  <br/><br/>
  <b>Example:</b> This will set the duration, autoReverse, and nextTween properties of a tween, and add a listener for the complete event:<br/>
  <code>myTween.setTweenProperties({duration:4, autoReverse:true, nextTween:anotherTween, completeListener:completeHandlerFunction});</code>
  </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">tweenProperties</span>:Object</code></td>
</tr>
</table>
</div>
<a name="constantDetail"></a>
<div class="detailSectionHeader">Constant detail</div>
<a name="BEGINNING"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">BEGINNING</td><td class="detailHeaderType">constant</td>
</tr>
</table>
<div class="detailBody">
<code>public static const BEGINNING:String = "beginning"</code><p> Constant for the BEGINNING state. </p></div>
<a name="DELAY_PHASE"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">DELAY_PHASE</td><td class="detailHeaderType">constant</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static const DELAY_PHASE:String = "delayPhase"</code><p> Constant for the DELAY_PHASE state. </p></div>
<a name="END"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">END</td><td class="detailHeaderType">constant</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static const END:String = "end"</code><p> Constant for the END state. </p></div>
<a name="FRAME"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">FRAME</td><td class="detailHeaderType">constant</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static const FRAME:String = "frame"</code><p> Constant for the FRAME timingMode. </p></div>
<a name="HYBRID"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">HYBRID</td><td class="detailHeaderType">constant</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static const HYBRID:String = "hybrid"</code><p> Constant for the HYBRID timingMode. </p></div>
<a name="PROGRESS"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">PROGRESS</td><td class="detailHeaderType">constant</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static const PROGRESS:String = "progress"</code><p> Constant for the PROGRESS event type. </p></div>
<a name="TIME"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">TIME</td><td class="detailHeaderType">constant</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static const TIME:String = "time"</code><p>
  Dispatched when a tween activates and first starts running. That is, when the tween exits the beginning or end state, and enters either the
  delayPhase or tweenPhase state.
  </p></div>
<a name="TWEEN_PHASE"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">TWEEN_PHASE</td><td class="detailHeaderType">constant</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static const TWEEN_PHASE:String = "tweenPhase"</code><p> Constant for the TWEEN_PHASE state. </p></div>
<br>
<br>
<hr>
<br>
<p></p>
<center class="copyright"> 
</center>
</div>
</body>
</html>
<!-- -->
